home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CERROR.TXT next >
Text File  |  1989-03-25  |  6KB  |  185 lines

  1. Error Messages TextFONTAAl@     )2`ETEXTMSWD"P EQJ ET%ODError Messages
  2.  
  3. The routines in stdio may set the global variable errno
  4. to one of these values on an error. All of these errors
  5. are Macintosh system errors. For more information about
  6. them, see Inside Macintosh.
  7.  
  8.  
  9.     noErr    0    All is well - defined in MacTypes.h
  10.  
  11. Queuing Errors
  12.     qErr            -1    Queue element not found during deletion
  13.     vTypErr            -2    Invalid Queue element
  14.  
  15. Trap Call Errors
  16.     corErr            -3    Trap ("core routine") number out of range
  17.     unimpErr        -4    Unimplemented trap
  18.  
  19. Device Manager Errors
  20.     controlErr        -17    Driver error during Control operation
  21.     statusErr        -18    Driver error during Status operation
  22.     readErr            -19    Driver error during Read control
  23.     writErr            -20    Driver error during Write control
  24.     badUnitErr        -21    Bad unit number
  25.     unitEmptyErr    -22    No such entry in unit table
  26.     openErr            -23    Driver error during Open operation
  27.     closeErr        -24    Driver error during Close operation
  28.     dRemovErr        -25    Attempt to remove an open driver
  29.     dInstErr        -26    Attempt to install nonexistent driver
  30.     abortErr        -27    Driver operation aborted
  31.     notOpenErr        -28    Driver not open
  32.  
  33. File Manager Errors
  34.     dirFulErr        -33    directory full
  35.     dskFulErr        -34    disk full
  36.     nsvErr            -35    no such volume
  37.     ioErr            -36    i/o error
  38.     bdNamErr        -37    bad name error
  39.     fnOpnErr        -38    file not open
  40.     eofErr            -39    end of file
  41.     posErr            -40    tried to position before start of file
  42.     mFulErr            -41    memory full
  43.     tmfoErr            -42    too many files open
  44.     fnfErr            -43    file not found
  45.     wPrErr            -44    write protected disk
  46.     fLckdErr        -45    file is locked 
  47.     vLckdErr        -46    volume is locked
  48.     fBsyErr            -47    file is busy
  49.     dupFNErr        -48    duplicate filename
  50.     opWrErr            -49    file already open with write permission
  51.     paramErr        -50    error in parameter list
  52.     rfNumErr        -51    refnum error
  53.     gfpErr            -52    get file position error
  54.     volOffLinErr    -53    volume not online (was ejected)
  55.     PermErr            -54    permission error (on file open)
  56.     volOnLinErr        -55    drive volume already online
  57.     nsDrvErr        -56    no such drive
  58.     noMacDskErr        -57    not a Mac diskette
  59.     extFSErr        -58    volume belongs to external fs
  60.     fsRnErr            -59    file system rename error
  61.     badMDBErr        -60    bad master directory block
  62.     wrPermErr        -61    write permission error
  63.  
  64. Low-Level Disk Errors
  65.     noDriveErr        -64    Drive isn't connected
  66.     offLinErr        -65    No disk in drive
  67.     noNybErr        -66    Disk is probably blank
  68.     noAdrMkErr        -67    Can't find an address mark
  69.     dataVerErr        -68    Read-verify failed
  70.     badCksmErr        -69    Bad address mark
  71.     badBtSlpErr        -70    Bad address mark
  72.     noDtaMkErr        -71    Can't find a data mark
  73.     badDCksum        -72    Bad data mark
  74.     badDBtSlp        -73    Bad data mark
  75.     wrUnderrun        -74    Write underrun occured
  76.     cantStepErr        -75    Drive error
  77.     tk0BadErr        -76    Can't find track 0
  78.     initIWMErr        -77    Can't initialize disk controller chip
  79.     twoSideErr        -78    Tried to read side 2 of a disk in a single read
  80.     spdAdjErr        -79    Can't correctly adjust disk speed 
  81.     seekErr            -80    Drive Error
  82.     sectNFErr        -81    Can't find sector
  83.  
  84. Clock Chip Errors
  85.     clkRdErr        -85    Unable to read clock
  86.     clkWrErr        -86    Time written did not verify
  87.     prWrErr            -87    Parameter RAM written did not verify
  88.     prInitErr        -88    Validity status is not OxAB
  89.  
  90. AppleTalk Manager Errors
  91.     ddpSktErr        -91    DDP socket error
  92.     ddpLenErr        -92    DDP datagram too long
  93.     noBridgeErr        -93    No bridge found
  94.     lapProtErr        -94    ALAP error
  95.     excessCollsns    -95    ALAP no CTS receive after 32 tries
  96.     portInUse        -97    Driver open error, port already in use
  97.     portNotCf        -98    Driver open error, port not configured for use
  98.  
  99. Scrap Manager Errors 
  100.     noScrapErr        -100    Desk scrap isn't initialized
  101.     noTypeErr        -102    No data of requested type
  102.  
  103. Memory Manager Errors
  104.     memFullErr        -108    Not enough room in heap zone
  105.     nilHandleErr    -109    Master Pointer was NIL in HandleZone
  106.     memWZErr        -111    WhichZone failed
  107.     memPurErr        -112    Trying to purge a locked/non-purgeable block
  108.     memLockedErr    -117    for MoveHHi
  109.  
  110. Resource Manager Errors
  111.     resNotFound        -192    Resource not found
  112.     resFNotFound    -193    Resource file not found
  113.     addResFailed    -194    Add resource failed
  114.     addRefFailed    -195    Add resource file failed
  115.     rmvResFailed    -196    Remove resource failed
  116.     rmvRefFailed    -197    Remove resource file failed
  117.  
  118. Additional AppleTalk Manager Errors
  119.     nbpBuffOvr        -1024
  120.     nbpNoConfirm    -1025
  121.     nbpConfDiff        -1026
  122.     nbpDuplicate    -1027
  123.     nbpNotFound        -1028
  124.     nbpNISErr        -1029
  125.     reqFailed        -1096
  126.     tooManyReqs        -1097
  127.     tooManySkts        -1098
  128.     badATPSkt        -1099
  129.     badBuffNum        -1100
  130.     noRelErr        -1101
  131.     cbNotFound        -1102
  132.     noSendResp        -1103
  133.     noDataArea        -1104
  134.     reqAborted        -1105
  135.     buf2SmallErr    -3101
  136.     noMPPError        -3102
  137.     cksumErr        -3103
  138.     extractErr        -3104
  139.     readQErr        -3105
  140.     atpLenErr        -3106
  141.     atpBadRsp        -3107
  142.     recNotFnd        -3108
  143.     sktClosedErr    -3109
  144.  
  145. UNIX errors
  146. (These errors are reported in errno by the routines
  147.  in the unix compatibility library. Not all of these
  148.  make sense on the Macintosh.)
  149.  
  150.     EPERM        1    Not owner
  151.     ENOENT        2    No such file or directory
  152.     ESRCH        3    No such process
  153.     EINTR        4    Interrupted system call
  154.     EIO            5    I/O error
  155.     ENXIO        6    No such device or address
  156.     E2BIG        7    Arg list too long
  157.     ENOEXEC        8    Exec format error
  158.     EBADF        9    Bad file number
  159.     ECHILD        10    No child processes
  160.     EAGAIN        11    Resource temporarily available
  161.     ENOMEM        12    Not enough space
  162.     EACCES        13    Permission denied
  163.     EFAULT        14    Bad address
  164.     ENOTBLK        15    Block device required
  165.     EBUSY        16    Device or resource busy
  166.     EEXIST        17    File exists
  167.     EXDEV        18    Cross-device link
  168.     ENODEV        19    No such device
  169.     ENOTDIR        20    Not a directory
  170.     EISDIR        21    Is a directory
  171.     EINVAL        22    Invalid argument
  172.     ENFILE        23    File table overflow
  173.     EMFILE        24    Too many open files
  174.     ENOTTY        25    Not a character device
  175.     ETXTBSY        26    Text file busy
  176.     EFBIG        27    File too large
  177.     ENOSPC        28    No space left on device
  178.     ESPIPE        29    Illegal seek
  179.     EROFS        30    Read-only file system
  180.     EMLINK        31    Too many links
  181.     EPIPE        32    Broken pipe
  182.     /* EDOM    33,    ERANGE    34, these are in math.h */
  183.     ENOMSG        35
  184.     EIDRM        36
  185. 2>999Error Messages TextTEXTMSWDTEXTMSWD EQJ"P>=`/P    PB(w4    {qUUMonacoR|8 R|8hxO7z8,=g=h.8z<( R|8<h4 O   O POPNONNON27)4    02PESR;7z(